<template>
  <div class="ui centered card">
    <div class="content">
      <div class="header">
        {{ todo.title }}
      </div>
      <div class="meta">
        {{ todo.project }}
      </div>
      <div class="extra content">
        <span class="right float edit icon">
          <i class="edit icon"></i>
        </span>
      </div>
    </div>
    <div class="ui bottom attached green basic button" v-show="todo.done">
      已完成
    </div>
    <div class="ui bottom attached red basic button" v-show="!todo.done">
      待完成
    </div>
  </div>
</template>

<script type="text/javascript">
  export default {
    props: ['todo']
  }
</script>

<style>

</style>